<?php
// +----------------------------------------------------------------------
// | quanli team
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2020 http://www.fistforward.com/ All rights reserved.
// +----------------------------------------------------------------------
// | Author: create by allen.qiang
// +----------------------------------------------------------------------

/**
 * 订单操作功能
 *
 * @package 	htdocs
 * @subpackage  quanliadmin
 * @author  	create by allen.qiang
 */
quanli_require('module/base/production/productionOrder.class.php');
class pa_orderRevise {

    public function execute() {

        if (isset($_REQUEST['operFlg']) && $_REQUEST['operFlg'] > 0) {

            switch($_REQUEST['operFlg']) {

                case 1: //商品配件列表
                    $this->OrderList();
                    break;

                default:
                    backendError();
            }
        }else{
            backendError();
        }
    }

    /**
     * 订单列表
     * @author baitianjun
     *
     */
    private function OrderList() {

        global $G_SHOP;
        $currentDate = $G_SHOP->sys_date;
        $G_SHOP->smarty->assign('currentDate',$currentDate);
        $G_SHOP->smarty->display('production/orderReviseList.tpl');
    }

}